import Mock from "mockjs";

const { newsList } = Mock.mock({
    "newsList|75": [
        {
            'id': "@increment",
            'name': '@cname',
            'age|18-40': 0,
            'phone': /^1[0-9]{10}$/,
            'email': '@email',
            'address': '@county(true)',
            'createTime': '@date("yyyy-MM-dd")',
        },
    ],
});
console.log("newsList", newsList);
